$OpenBSD: patch-mozilla_js_src_ctypes_libffi_src_dlmalloc_c,v 1.6 2014/09/09 21:27:17 landry Exp $
--- mozilla/js/src/ctypes/libffi/src/dlmalloc.c.orig	Fri Sep  5 07:36:33 2014
+++ mozilla/js/src/ctypes/libffi/src/dlmalloc.c	Mon Sep  8 20:34:50 2014
@@ -2520,7 +2520,6 @@ static int init_mparams(void) {
 
 #if (FOOTERS && !INSECURE)
     {
-#if USE_DEV_RANDOM
       int fd;
       unsigned char buf[sizeof(size_t)];
       /* Try to use /dev/urandom, else fall back on using time */
@@ -2530,7 +2529,6 @@ static int init_mparams(void) {
         close(fd);
       }
       else
-#endif /* USE_DEV_RANDOM */
         s = (size_t)(time(0) ^ (size_t)0x55555555U);
 
       s |= (size_t)8U;    /* ensure nonzero */
